<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<f:view>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>registerlist</title>
</head>
<body>
	<h:form>
		<h3>Registered List</h3>
		<h:dataTable value="#{barcampBean.resultList }" var="list" border="1"
				     binding="#{barcampBean.uiDataTable}">
			<h:column>
				<f:facet name="header">
					<h:outputText value="Name"></h:outputText>
				</f:facet>
				<h:outputText value="#{list.name}"></h:outputText>
			</h:column>
			<h:column>
				<f:facet name="header">
					<h:outputText value="Email Address"></h:outputText>
				</f:facet>
				<h:outputText value="#{list.emailAddress}"></h:outputText>
			</h:column>
			<h:column>
				<f:facet name="header">
					<h:outputText value="Action"></h:outputText>
				</f:facet>
				<h:commandButton value="present" action="#{barcampBean.updateRegister }"></h:commandButton>
			</h:column>
			<f:facet name="footer">
				<h:commandButton value="Back" action="backregister"></h:commandButton>
			</f:facet>
		</h:dataTable>
	</h:form>
</body>
</html>
</f:view>